require 'auto_complete/include_helper'
require 'auto_complete/view_helper'

ActionView::Base.send(:include, AutoComplete::ViewHelper)
ActionView::Base.send(:include, AutoComplete::IncludeHelper)

['/public/javascripts', '/public/stylesheets'].each{|dir|
  source = File.join(directory,dir)
  dest = RAILS_ROOT + dir
  FileUtils.cp_r(Dir.glob(source+'/*.*'), dest)
} unless File.exists?(RAILS_ROOT + '/public/javascripts/jquery.js')